package com.atguigu.springcloud.service;

import org.apache.ibatis.annotations.Param;

import java.math.BigDecimal;

/**
 * @PROJECT_NAME: cloud2020
 * @DESCRIPTION:
 * @Author: csc
 * @DATE: 2023/4/6 14:46
 */
public interface AccountService {

    /**
     * 扣除账户余额
     */
    void decrease(@Param("userId") Long userId, @Param("money") BigDecimal money);




}
